import axios from '@/libs/api.request'

export class TreatmentEnjoyAuditApi {
  // 根据条件获取待遇享受环节审核
  static getList (params) {
    return axios.request({
      url: '/TreatmentEnjoyAudit/GetList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 保存待遇享受环节审核
  static save (params) {
    return axios.request({
      url: '/TreatmentEnjoyAudit/Save',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 获取详情
  static model (params) {
    return axios.request({
      url: '/TreatmentEnjoyAudit/Model',
      method: 'get',
      enctype: 'multipart/form-data',
      params: params
    })
  }

  // 退回上一级
  static back (params) {
    return axios.request({
      url: '/TreatmentEnjoyAudit/Back',
      method: 'get',
      enctype: 'multipart/form-data',
      params: params
    })
  }

  // 终止待遇
  static end (params) {
    return axios.request({
      url: '/TreatmentEnjoyAudit/End',
      method: 'get',
      enctype: 'multipart/form-data',
      params: params
    })
  }
}